package com.gcit.seniorWish.web.modular.system.service;

import com.gcit.seniorWish.web.common.constant.cache.Cache;
import com.gcit.seniorWish.web.common.constant.cache.CacheKey;
import com.gcit.seniorWish.web.common.persistence.model.SystemConfigurate;
import com.baomidou.mybatisplus.service.IService;
import org.springframework.cache.annotation.CacheEvict;

/**
 * <p>
 * 系统配置表 服务类
 * </p>
 *
 * @author gaozhichang
 * @since 2018-03-27
 */
public interface ISystemConfigurateService extends IService<SystemConfigurate> {

	@CacheEvict(value = Cache.CONSTANT, key = "'" + CacheKey.SYS_CONFIG + "'+#sysConfig.configurateKey")
	void mergeSystemConfig(SystemConfigurate sysConfig);
}
